package org.example.service.impl;

import org.example.service.IStudentService;
import org.example.service.IStudentTccAction;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("StudentService")
public class StudentService implements IStudentService {

    @Autowired
    private IStudentTccAction studentTccAction;

    @Override
    public void updateStudentScore(int studentId, int changescore) {
        studentTccAction.prepare(null, studentId, changescore);
    }
}
